#ifndef WEBTHUMBNAIL_H
#define WEBTHUMBNAIL_H
#include <QtGui>
#include <QtWebKit/QWebView>


class WebThumbnail: public QObject
{
    Q_OBJECT
    QWebView* view;
    QPixmap snap;
public:
    WebThumbnail(QString url);
    QPixmap getThumbnail(){return snap;}
signals:
    void snapdone(bool);
public slots:
    void finish(bool);
};

#endif // WEBTHUMBNAIL_H
